package com.atguigu.lease.web.admin.mapper;


import com.atguigu.lease.model.entity.GraphInfo;
import com.atguigu.lease.model.enums.ItemType;
import com.atguigu.lease.web.admin.vo.graph.GraphVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 48138
* @description 针对表【graph_info(图片信息表)】的数据库操作Mapper
* @createDate 2025-07-05 14:18:49
* @Entity generator.entity.GraphInfo
*/
public interface GraphInfoMapper extends BaseMapper<GraphInfo> {

    void saveByApartmentSubmitVo(@Param("id") Long id, @Param("graphVoList") List<GraphVo> graphVoList, @Param("createTime") Date createTime);
    List<GraphVo> getGraphVoListByApartmentId(@Param("id") Long id);
    List<GraphVo> selectListByItemTypeAndId(ItemType itemType, Long id);


}




